<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      * {
        margin: 0;
        padding: 0;
      }
      form {
        background-color: gainsboro;
        height: 500px;
        width: 500px;
      }
    </style>
  </head>
  <body>
    <form action="https://www.baidu.com/" method="post">
      用户名：<input type="text" />
      <br />
      密码：<input type="password" />
      <br />
      <input type="submit" value="点我提交" />
      <input type="reset" value="点我重置" />
      <br />
      性别：<input type="radio" name="sex" checked/>男
      <input type="radio" name="sex" checked/>女 <input type="radio" name="sex" />不明
      <br />
      爱好：1<input type="checkbox" name="c1" />2<input
        type="checkbox"
        name="c1"
      />
      <br />
      <input type="button" value="没用的按钮" disabled/>
      <input type="file">
      <br>
      <select name="" id=""  multiple>
        <option value="南昌">南昌</option>
        <option value="理塘">理塘</option>
        <option value="北京">北京</option>
        <option value="广州" selected>广州</option>
        <option value="南昌">南昌</option>
        <option value="理塘" selected>理塘</option>
        <option value="北京" selected>北京</option>
      </select>
      <br>
      <textarea name="" id="" cols="30" rows="10" style="resize: none;"></textarea>
   </form>
  </body>
</html>
